<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('单位经费管理')" />
</head>
<body class="gray-bg">
<div class="container-div">
    <div class="row" id="customlist">

        <!--登录信息-->
        <input name="userid" th:value="${session.userid}" type="hidden" id="userid">
        <input name="username" th:value="${session.username}" type="hidden" id="username">
        <input name="deptid" th:value="${session.deptid}" type="hidden" id="deptid">
        <input name="parentid" th:value="${parentid}" type="hidden" id="parentid">

        <div class="col-sm-12 select-table" style="padding-top: 10px;">

        </div>

        <div class="btn-group-sm" id="toolbar" role="group" style="padding-top:10px;">
            <button class="btn btn-success btn-md"  @click="" style="margin-top:10px;">
                <i class="fa fa-plus"></i> 批量发送短信提醒
            </button>
        </div>

        <div class="col-sm-12 select-table table-striped">
            <table class="bootstrap-table table-hover table-striped table" style="text-align: center;">
                <tr style="font-weight: bold;">
                    <td>序号</td>
                    <td>单位名称</td>
                    <td>余额</td>
                    <td>待发资金</td>
                    <td>结余资金</td>
                    <td>操作</td>
                </tr>
                <tr v-for="(yueitem,index) in yuelist"  v-if="yuelist.length > 0">
                    <td style="vertical-align: middle; text-align: center;" v-text="index+1"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="yueitem.jigoumingcheng"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="yueitem.yue"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="yueitem.daifa"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="yueitem.zhiliu"></td>
                    <td style="vertical-align: middle; text-align: center;">
                        <button v-if="yueitem.jigoujibie!=3" class="btn btn-md btn-primary" @click="toCustomYueList(yueitem)">详情</button>
                    </td>
                </tr>
            </table>

<!--            <div v-if="recordCount != '0'" class="my-page-navigation" style="text-align:center;">
                <button class="btn btn-default" @click="firstPage">首页</button>
                <button class="btn btn-default" @click="prePage">上一页</button>
                <select class="custom-select border-secondary" v-model="pagesize">
                    <option value="10">10 条/页</option>
                    <option value="20">20 条/页</option>
                    <option value="30">30 条/页</option>
                    <option value="50">50 条/页</option>
                </select>
                <span v-text="pageindex + '  /  ' + pageCount" style="border-color: #6c757d"></span>
                <span v-text="'共' + recordCount + '条'" style="border-color: #6c757d"></span>
                <button class="btn btn-default" @click="nextPage">下一页</button>
                <button class="btn btn-default" @click="lastPage">尾页</button>
                <span style="border-color: #6c757d">跳到第</span>
                <input type="text" class="form-control border-secondary" style="width:50px;display:inline;" v-model="targetpage" @keyup.enter="targetPage">
                <span style="border-color: #6c757d">页</span>
                <button class="btn btn-default" @click="targetPage">跳</button>
            </div>-->
        </div>
    </div>
</div>

<th:block th:include="include :: footer" />
<script th:src="@{/js/system/yue/customlist.js?v=1.0}"></script>

</body>
</html>

<style>
    .red{
        color: red;
    }
    .green{
        color: green;
    }
</style>